<!--The content below is only a placeholder and can be replaced.-->
<div style="text-align:center">
  <h1>
    Home component!
  </h1>
  <button (click)="toChild()">切换为child</button>
  <button routerLink="child2">切换为child2</button>
  <div style="height:auto;min-height:100px;background:aquamarine;margin:1rem;">
    <router-outlet></router-outlet>
  </div>
</div>